<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
</head>

<body>

  <%@ include file="/WEB-INF/include/header.jsp"%>
  <%@ include file="/WEB-INF/include/menu.jsp"%>
  
  <div class="container main-content">
  
    <div class="panel panel-default x-panel x-panel-layout">
  
      <div class="panel-heading">
        <ol class="breadcrumb">
          <li><a href="${ctx.host}/ecommerce">课程管理</a></li>
          <li class="active">排课管理</li>
        </ol>
      </div>
      
      <div class="panel-body">
      
        <div class="col-xs-2 x-panel-layout-left no-horizontal-padding">
          <%@ include file="/WEB-INF/include/submenu.jsp"%>
        </div>
        
        <div class="col-xs-10 x-panel-layout-right">
          
          <div class="x-breadcrumb-wrapper">
            <div class="x-breadcrumb clearfix">
              <h2><i class="glyphicon glyphicon-fire"></i>&nbsp;&nbsp;<span>线上课程&nbsp;-&nbsp;学员详情</span></h2>
            </div>
          </div>
          
          <div class="x-breadcrumb-wrapper top-margin-20">
          
            <!-- tabs -->
            <ul class="nav nav-pills x-breadcrumb-nav" >
              <li class="pull-left active">
                <a href="${ctx.host}/online-rounds/${courseRound.code}/rounds/${courseRound.id}" >基本信息</a>
              </li>
              <c:if test="${not empty courseRound.fitnessGroup}">
                <li class="pull-left ">
                  <a href="${ctx.host}/online-rounds/${courseRound.code}/rounds/${courseRound.id}/batch-coursewares/1">每周课件</a>
                </li>
              </c:if>
            </ul>
            
            
          </div>
          
          
            <div class="tab-pane fade active in" id="student-profile" style="min-height: 160px;">
              
              <div class="form-horizontal">
              
                <div class="form-horizontal">
                <div class="form-group">
                  <label class="col-xs-2 control-label">学员姓名：</label>
                  <div class="col-xs-3">
                    <p class="form-control-static">${courseRound.student.name}
                    </p>
                  </div>
                  
                  <!-- <label class="col-xs-2 control-label">备注名：</label>
                  <div class="col-xs-3">
                    <p class="form-control-static"></p>
                  </div> -->
                </div>
                
                <div class="form-group">
                  <label class="col-xs-2 control-label">联系方式：</label>
                  <div class="col-xs-3">
                    <p class="form-control-static">${courseRound.student.mobile}</p>
                  </div>
                  
                  <label class="col-xs-2 control-label">课程：</label>
                  <div class="col-xs-3">
                    <p class="form-control-static">${courseRound.course.name}</p>
                  </div>
                </div>
                
                <!-- <div class="form-group">
                  <label class="col-xs-2 control-label">课件属性：</label>
                  <div class="col-xs-3">
                    <p class="form-control-static">新学员/减脂组</p>
                  </div>
                  
                  <label class="col-xs-2 control-label">学员标签：</label>
                  <div class="col-xs-3">
                    <p class="form-control-static">新学员/基础组学员/年卡会员</p>
                  </div>
                </div> -->
              </div>
                
              </div>
            
            </div>
            
          
            <div class="x-breadcrumb-wrapper" style="margin-top: 50px;">

              <!-- tabs -->
              <ul class="nav nav-pills x-breadcrumb-nav ajax-tab" data-content="#investigate-content" data-operation="#investigate-operations">
                <c:if test="${investigate.profileInvestigation}">
                  <li class="pull-left">
                    <a id="investigateProfile" href="${ctx.host}/online-rounds/${courseRound.code}/rounds/${courseRound.id}/investigate?investigateType=profile" data-toggle="tab" data-target="#investigate-profile">个人信息调查</a>
                  </li>
                </c:if>
                <c:if test="${investigate.fitInvestigation}">
                  <li class="pull-left">
                    <a id="investigateFit" href="${ctx.host}/online-rounds/${courseRound.code}/rounds/${courseRound.id}/investigate?investigateType=fit" data-toggle="tab" data-target="#investigate-fit">身体信息调查</a>
                  </li>
               </c:if>
               <c:if test="${investigate.healthInvestigation}">
                  <li class="pull-left">
                    <a id="investigateHealth" href="${ctx.host}/online-rounds/${courseRound.code}/rounds/${courseRound.id}/investigate?investigateType=health" data-toggle="tab" data-target="#investigate-health">健康调查</a>
                  </li>
               </c:if>
               <c:if test="${investigate.participateInvestigation}">
                <li class="pull-left">
                  <a id="investigateParticipate" href="${ctx.host}/online-rounds/${courseRound.code}/rounds/${courseRound.id}/investigate?investigateType=participate" data-toggle="tab" data-target="#investigate-participate">参与度调查</a>
                </li>
               </c:if>
              </ul>
              
            </div>

          <div id="investigate-content" class="tab-content ajax-tab-content">
          </div>
          
        </div>
        
      </div>
      
    </div>
    
  </div>

  <%@ include file="/WEB-INF/include/script.jsp"%>
  
  <d:resource root="${ctx.resource}/build" type="script" src="js/page/course/online-round-student-view.js">
    <script type="text/javascript">
      require(['page/course/online-round-student-view'],function(page){
          page.init();
      })
    </script>
  </d:resource>

</body>

</html>